package com.skeleton.web.jsp.control;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class JspControl {

	protected Logger logger = LogManager.getLogger(this.getClass());

	@RequestMapping("login")
	public String login() {
		logger.info("----------login-----------------");
		return "jsp/login";
	}

	@RequestMapping("regist")
	public String regist() {
		logger.info("----------regist-----------------");
		return "jsp/regist";
	}
	
}
